package com.shuziren.entity.dto;


import com.baomidou.mybatisplus.annotation.TableField;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

@Data
public class InterviewPositionDto {

    //职位名称
    @TableField("position_name")
    @NotNull
    private String positionName;

    //所属部门
    @TableField("department")
    @NotNull
    private String department;

    //职位等级
    @TableField("position_level")
    @NotNull
    private String positionLevel;


    //职位描述
    @TableField("job_description")
    @Size(max = 200, message = "职位描述不能超过200个字符")
    private String jobDescription;

    //职位要求
    @TableField("job_requirements")
    private String jobRequirements;

    //职位技能
    @TableField(value = "required_skills")
    private List<String> requiredSkills;

    //职位状态
    @TableField("status")
    @Min(value = 1, message = "职位状态只有1,2,3")
    @Max(value = 3, message = "职位状态只有1,2,3")
    private Integer status;

    //职位招聘数量
    @TableField("headcount")
    private Integer headcount;

}